package com.cckat.service;

import com.cckat.base.BaseService;
import com.cckat.entity.House;
import com.cckat.entity.bo.HouseQueryBo;
import com.cckat.entity.vo.HouseVo;
import com.github.pagehelper.PageInfo;

/**
 * @author 静海基地
 */
public interface HouseService extends BaseService<House> {

    /**
     * 修改房源信息发布状态
     * @param id
     * @param status
     */
    void publish(Long id, Integer status);


    /**
     * 实现前端首页分页功能
     * @param pageNum
     * @param pageSize
     * @param houseQueryBo
     * @return
     */
    PageInfo findHouseVoPage(int pageNum, int pageSize, HouseQueryBo houseQueryBo);

}
